#include "Clean.h"

VOID DriverUnload(IN PDRIVER_OBJECT pDriverObject)
{
    UNREFERENCED_PARAMETER(pDriverObject);
}

void ReleaseDeviceExtension(IN PDEVICE_EXTENSION DeviceExtension, IN PIRP Irp)
{
    IoDetachDevice(DeviceExtension->NextDeviceObject);
    IoReleaseRemoveLockAndWait(&DeviceExtension->RemoveLock, Irp);
    IoDeleteSymbolicLink(&DeviceExtension->usSymbolicLink);
    ExFreePoolWithTag(DeviceExtension->Memory, TAG_MEMORYDISK);
}
